package com.ruoyi.web.controller.agoniappWeb;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.service.IAgoniRewardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/pages/rewardPunishment")
public class RewardWebController {
    @Autowired
    private IAgoniRewardService rewardService;

    //TODO:后台管理的奖惩管理页面
    @RequestMapping("/listRewardPunishments")
    public AjaxResult rewardList() {
        return AjaxResult.success(rewardService.selectRewardList());
        }




}
